import request from '@/utils/request'
//添加楼宇
export function sqBuilding_add(data) {
return request({
url: '/api/sqBuilding/add',
method: 'post',
data
})
}
//修改楼宇
export function sqBuilding_update(data) {
return request({
url: '/api/sqBuilding/update',
method: 'post',
data
})
}
//删除楼宇
export function sqBuilding_delete(data) {
return request({
url: '/api/sqBuilding/delete/' + data.id,
method: 'post',
data
})
}
//楼宇详情
export function sqBuilding_info(param) {
return request({
url: '/api/sqBuilding/info/' + param.id,
method: 'get',
param
})
}
//楼宇分页列表
export function sqBuilding_getPageList(data) {
return request({
url: '/api/sqBuilding/getPageList',
method: 'post',
data
})
}
